package org.example.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.model.PageInfo;
import org.example.model.Sysrole;

import java.util.List;

@Mapper
public interface ResourcesDao {
    @Select("select * from sys_role LIMIT #{pageNo},#{pageSize}")
    List<Sysrole> systemList(PageInfo pageInfo);
    @Select("select * from sys_role")
    List<Sysrole> all();
}
